<!doctype html>
<html>
<head>
    <#include "include/common.header.ftl" >
    <script type="text/javascript" src="/js/lunbo.js"></script>
</head>
<body style="margin: 1px">
<table id="dg" title="首页轮播" class="easyui-datagrid"
       fitColumns="true" pagination="true" rownumbers="true"
       url="/demo01/lunboPage?state=53&limit=10&sort=lunbo" fit="true" toolbar="#tb">
    <thead>
    <tr>
        <th field="cb" checkbox="true" align="center"></th>
        <th field="lunbo" width="50" align="center">轮播图片</th>
        
    </tr>
    </thead>
</table>
<div id="tb">
<div>

        <a href="javascript:openSaleChanceModifyDialog()" class="easyui-linkbutton" iconCls="icon-edit" plain="true">详情</a>
        <a href="javascript:deleteSaleChance()" class="easyui-linkbutton" iconCls="icon-remove" plain="true">删除</a>
        <form action="/controll/lunboup?" method="post" enctype="multipart/form-data">
            选择文件<input type="file" name="file"><input type="submit" value="上传" >
        </form>
    </div>
   
</div>
<div id="dlg" class="easyui-dialog" style="width:700px;height:450px;padding: 10px 20px"
     closed="true" buttons="#dlg-buttons">
        <input type="text" id="tag" name="tag" value="0"  hidden="true"/>

    <form id="fm" method="post">
        <table cellspacing="8px">
            <tr>
                <td>轮播图片：</td>
                <td><input type="text"  class="only" id="lunbo" name="lunbo" class="easyui-validatebox"  style="width:400px" required="true"/></td>
            </tr>
            
             <tr>
                <image id="myimg" src="" width="250px" height="250px">
            </tr>
            
           
        </table>
    </form>
</div>

<div id="dlg-buttons">
    <a href="javascript:saveSaleChance()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
    <a href="javascript:closeSaleChanceDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
</div>
</body>
</html>